//Remove default menu for every new window
electron.app.on('browser-window-created',function(e,window) {
window.setMenu(null);
});
mainWindow.setMenuBarVisibility(false) //partially
import { Menu } from 'electron'
Menu.setApplicationMenu(null);